<?php
require '../classesC/JogadorC.php';
$jogador = new JogadorC();
$jogador->recuperarSenha();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Recuperar Password</title>
        <style type="text/css">
            #apDiv1 {
                position:absolute;
                left:0px;
                top:0px;
                width:255px;
                height:255px;
                z-index:1;
                background-color: #CCC;
                margin: 0;
                padding: 0;
            }

        </style>
        <script type="text/javascript" src="js/jquery-1.6.4.min.js"></script>
        <script type="text/javascript">
            $(function(){
                $("#form1").bind("submit", checarEmail);    
            });
            function checarEmail(){
                var canSubmit=true;
                var e = $("input[name=email]").val();    
                if (e.length < 1){
                    alert("Favor digite um e-mail valido");
                    canSubmit = false;
                }else{
                    return canSubmit;
                }
            }
        </script>
    </head>

    <body>
        <div id="apDiv1">
            <center>
                <form id="form1" name="form1" method="post" action="">
                    <p>
                        <label for="textfield">Informe seu e-mail<br />
                            <span style="color:#F00;font-style:italic">(importante informar email valido)</span><br />
                        </label>
                        <input type="text" name="email" id="email" size="35" />
                    </p>
                    <p>
                        <input type="submit" name="button" id="button" value="ENVIAR SENHA" />
                    </p>
                </form>
            </center>
        </div>
    </body>
</html>